import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index'
import Details from '@/pages/details'
Vue.use(Router)

export default new Router({
	routes: [{
		path: '/',
		name: 'index/',
		component: Index
	}, {
		path: '/details/:id',
		name: 'details',
		component: Details
	}]
})